﻿@{
    ViewBag.Title = "编辑用户";
    Layout = "~/Areas/Admin/Views/Shared/_LayoutA.cshtml";
}
@section htmlhead{
      <link href="~/Content/assets/css/Layout/css/main.css" rel="stylesheet" />
        <link href="~/Content/assets/css/plugin/validator.css" rel="stylesheet" />
    }
@model LY.Entity.S_User
 <div class="container">
     <div id="forms" class="mt10">
        <div class="box">
          <div class="box_border">
            <div class="box_center">
              <form  id="frmEdit" method="post" action="@Url.Action("ChangePasswordSave")" role="form" class="jqtransform">
                  <input id="hideId" name="Id" value="@Model.ID" type="hidden" />
               <table class="form_table pt15 pb15" style="width:100%;" border="0" >
                 <tr>
                  <td class="td_right">原密码：</td>
                     <td>
                         @Html.Password("oldpwd", null, new { @class = "input normal", datatype = "*6-20", nullmsg = "请输入旧密码", errormsg = "密码范围在6-20位之间", sucmsg = " " }) 
                     
                     </td>
                 
                </tr>
                 <tr>
                  <td class="td_right">新密码：</td>
                  <td> 
                       @Html.Password("newpwd", null, new { @class = "input normal", datatype = "*6-20", nullmsg = "请输入新密码", errormsg = "密码范围在6-20位之间", sucmsg = " " })
                  </td>
                </tr>
                    <tr>
                  <td class="td_right">重复密码：</td>
                  <td> 
                       @Html.Password("newpwd1", null, new { @class = "input normal", datatype = "*6-20", recheck = "newpwd", nullmsg = "请再输入一次新密码", errormsg = "两次输入的密码不一致", sucmsg = " " })
                  </td>
                 </tr>
                 <tr>
                   <td class="td_right">&nbsp;</td>
                   <td class="">
                <input type="button" id="btnSave" name="button" class="btn btn82 btn_save2" value="保存"> 
                <input type="button" id="btnClose" name="button" class="btn btn82 btn_res" value="关闭"> 
                   </td>
                 </tr>
               </table>
                  <input type="hidden" id="hideDeptName" name="DeptName" />
               </form>
            </div>
          </div>
        </div>
     </div>
   </div> 


@section jssection{

    <script src="~/Content/assets/plugins/validator/validator.js"></script>
    <script src="~/Content/assets/js/common.js"></script>
    <script src="~/Content/assets/layer/layer.min.js"></script>
    <script src="~/Content/assets/app/system/changepwd.js"></script>

}
  